package com.douing.ad.dsp.bidding.tj.utils;

public class MyField {
        private int value = 0;
        private String name;
 
        public MyField(String name, int value) {
            this.name = name;
            this.value = value;
        }
 
        public int getValue() {
            return value;
        }
 
        public String getName() {
            return name;
        }
 
        public MyField add(MyField value) {
            return new MyField(this.getName(), this.getValue() + value.getValue());
        }
    }